

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using DualControl.CycleCheckTasks.Dtos;
using DualControl.CycleCheckTasks;

namespace DualControl.CycleCheckTasks
{
    /// <summary>
    /// CycleCheckTask应用层服务的接口方法
    ///</summary>
    public interface ICycleCheckTaskAppService : IApplicationService
    {



        /// <summary>
        /// 获取CycleCheckTask的分页列表信息，包含用户名、部门名、角色名、岗位名等信息
        /// </summary>
        /// <returns></returns>
        Task<PagedResultDto<CycleCheckTaskListDto>> GetPageCycleCheckTaskWithDapper(GetCycleCheckTasksInput input);


        /// <summary>
        /// 获取CycleCheckTask的分页列表信息
        ///</summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PagedResultDto<CycleCheckTaskListDto>> GetPagedCycleCheckTasks(GetCycleCheckTasksInput input);

		/// <summary>
		/// 通过指定id获取CycleCheckTaskListDto信息
		/// </summary>
		Task<CycleCheckTaskListDto> GetCycleCheckTaskByIdAsync(EntityDto<int> input);


        /// <summary>
        /// 导出CycleCheckTask为excel表
        /// </summary>
        /// <returns></returns>
		//Task<FileDto> GetCycleCheckTasksToExcel();

        /// <summary>
        /// 返回实体的EditDto
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<GetCycleCheckTaskForEditOutput> GetCycleCheckTaskForEdit(NullableIdDto<int> input);      

        //生成排查任务
        Task GenerateCycleCheckTask();

        //todo:缺少Dto的生成GetCycleCheckTaskForEditOutput


        /// <summary>
        /// 添加或者修改CycleCheckTask的公共方法
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task CreateOrUpdateCycleCheckTask(CreateOrUpdateCycleCheckTaskInput input);


        /// <summary>
        /// 删除CycleCheckTask信息的方法
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task DeleteCycleCheckTask(EntityDto<int> input);


        /// <summary>
        /// 批量删除CycleCheckTask
        /// </summary>
        Task BatchDeleteCycleCheckTasksAsync(List<int> input);


		//// custom codes
		 
        //// custom codes end
    }
}
